package com.aat.dizena.base.service.impl;

import java.util.*;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.aat.dizena.base.bean.User2job;
import com.aat.dizena.base.dao.User2jobDao;
import com.aat.dizena.base.service.User2jobService;

@Service
public class User2jobServiceImpl  implements User2jobService {

    @Autowired
    private User2jobDao user2jobDao;

    public int addBean(User2job bean){
        return user2jobDao.addBean(bean);
    }

    public int updateBean(User2job bean){
        return user2jobDao.updateBean(bean);
    }

    public int deleteBean(String id){
        return user2jobDao.deleteBean(id);
    }

    public User2job queryBean(String id){
        return user2jobDao.queryBean(id);
    }

    public List<User2job> queryAll(Map<String, Object> map){
        return user2jobDao.queryAll(map);
    }

    public long queryCount(Map<String, Object> map){
        return user2jobDao.queryCount(map);
    }

}
